import {Authority} from '../request'

const {get, post} = Authority

// 养护工程添加
export const progressAdd = params => post('/investigate/progress/v1/add', params)
//养护工程列表
export const getProgressList= params => get('/investigate/progress/v1/queryList', {params})
// 养护工程时间线
export const getTimeTree= params => get('/investigate/progress/v1/timeTree', {params})
// 养护工程更新(自动推进进度)
export const progressUpdate = params => post('/investigate/progress/v1/update', params)
// 养护工程施工进度更新
export const updatePercentage = params => post('/investigate/progress/v1/updatePercentage', params)
